package a03op_abstract.test1;

public class Test {
    public static void main(String[] args) {
        //创建对象


        Dog dog = new Dog("哈士奇",3);

        System.out.println(dog.getName()+", "+ dog.getAge());
        dog.drink();
        dog.eat();
    }
}
